<%@ include file="/common/taglibs.jsp"%>

<style>
	table.reference th {
	    padding:5px;
	    font-size:12px;
	}
	
	.ui-helper-reset {
	
		line-height: 5.3px;
	}
	.ui-accordion .ui-accordion-content {
		padding-top: 5px;
		padding-bottom: 15px;
		padding-left: 5px;
		padding-right: 5px;
		font-size:13px;
	}
</style>
<script>
	$(function() {
	    $( "#accordion" ).accordion();
	});
</script>


<div style="margin-bottom:10px;" align="right">
	<ul class="glassList">
	    <li>
	    	<%-- <span id="wide"><a href="<c:url value='/mainMenu'/>">Back</a></span> --%>
	    </li>
	</ul>
</div>
<div id="accordion">
	<s:iterator value="examList" status="rowstatus">
		<span><s:property value="examName" /></span>
		<div>
			<table id="instHeaderTable" class="reference" width="100%">
				<tr>
					<th>Subject</th>
					<th>Max Mark</th>
					<th>Exam Date</th>
				</tr>
				<s:iterator value="examPapers" status="rowstatus">
					<tr>
						<td height="17px"><s:property value="subjectId" /></td>
						<td><s:property value="maxMark" /></td>
						<td><s:property value="date" /></td>
					</tr>
				</s:iterator>			
			</table>
		</div>
	</s:iterator>
 </div>
